package com.qf.config;

import org.springframework.context.annotation.Configuration;

import java.io.FileWriter;
import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 你的名字
 * @Date: 2021/07/24/10:42
 * @Description:
 */
public class AlipayConfig {
    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
    public static String app_id = "2021000117694075";

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCsWb08YHBnXdiCptbWnABXIHsG7gs5va4G6wjSSwmkjV97NL+prf61ndX4WODzYS3aPwQZKqINywxLvai0z0R/s1KkB8FPNkGZgU2sCk8x5eyzrTLHLdj/2q/MmS5uGPoGlsF0+p13/5ReGUxct8sbVxe7aPB8erqdvhE7FJ0L+PX9IjnaVzNtDMZchgUxWt+CBwzJjfNZMCNDpwwsu1r6U4GDYcZe+vn9TcA1U4xURJJ0wcFFOLMA4hVI1x4ah0QHkdIVsNcdRTUU8KCrJfC+DzZ3eInlzhpA9hedWb+LEvb69fsgIXWn8/YKrotyfZ5VWhtolAVPTsU9xREH5YpBAgMBAAECggEBAKpzqgq/WgtwrcMxG8Jt0IxajDHjVOjLJgSjiDrqiWPbiXXBSliWwxR9P/N4eylYj8+LiRMWreS0TrnNnb8MSbN99xpQrScZArG9RsMCAybXPUzJ2zFPr5ACiODxEhFC1GuVx0hY30mhU+voWzRLdSzZ6penhkel3VBKfKIQle0Sro5j2s1eGcEqtD8e7e8O19pBbdbTmE30lUoFxG7BcXuARKaXLLAA48j0P3ojwPHBzJVnrVgIFd4EGs2udEvD/k7PIXWEj+b2mQCa9oKle84MO2SbHBYA4KarJkdslleotY1Ig6kfjhkHMn7zdw1gvgufUOJLjW/bFqoChOdLlu0CgYEA62qzgVt1s52amdiHy3zfYGbTh05UHmug2p9AVVThdKnVyg9NVOk7+3ionjIp6YSgKoM8szIDwoZ8QIajgKuEyrnvn99M+rgddusbNT/0VRBqbuSoETBSGifpJOpVBkPQovVMf5hook3e74WiSIgVojwR9lNQrtmQJx+qfHNqlEMCgYEAu2tvem/gVmqYro5qZ1L6GsaHxavBErD1uOf5+iPdGxs69ks0f3YAIjBDcnVX/EQSk+QW+EgeiHlg/U2a+Y9A/1JH2HsFISxWOBgJVIEMKcRKhvH07bHZzaFeEjo9svpEb7/Ciysg1AtzRW4UnXCD5UipOPy1v/V2zVX9zJt2ISsCgYAOy8MCc1QfeN1ZpAFM6clETtImo+anjs4qT24ErvQImBAGxhVvK8WIVZoLb02xDpPeeCcdgBw6Yqd2ir/F+4G6GBuWabt12pKHgdlQ7HcXzZNS6u4hPm86k52Uo2G6phJ723z2XAbfhJNpbHW5p0vsyWe7mprskmH8A4J8lehx7wKBgA3g3cduQ2mCyT2b1CtEjLqw2tr7ZfexXPDNVMh+IWBhetNELGYH4eimNEhkghhvHgUPjdfi10f53QHE3mX+gqyldiaErZOQSe4rcX1tdO4e1/n4Ls/vLJa6jVHCOFFpkOnJhGlzzyGEm4uXpDUoYMv4vnc212qYjayU4o9lL7EzAoGASDCTAyNw5DKsoGaAR6OVLTUDHYOVp0cbPx9FGnMHBSkYd7fgZdKsgXLkx0FkoGJ1L5+P9tA1EVMjn9I2jqcE5R0g/NUtvCG8koP2GSDKBG87KkRAetkGgDW4yZf2l2h4ciZmTyiD0IK3jJs6Do+W/l7DgTZdLPK/q04YJSbfPm8=";

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmtdnqMtIjoTZ5s+yBf+25/ZNDVyXe0P0hlXtTUSADe0qu3Var6FIXZMTWqvEjDdG5pdWe5MZfHhMw1SEG124SzpFQml385EXPt8lBvTkdP69fjZz4lIvCnqYU85mbHL+TJQToWmkMYUyGpDAmMkyQ5Xey6pJtbWmbmNkdad0IE9/aRj3eIYSyWMCuv5aS4kNsVvRIYJXiH7qzpHwozW6MKAm/toYbpB2fhIDPT0VIo1/EAhND5j6W2fT19vL7P5FYmh5/eev+TQ/pZF7IkT9gfdguhDFKg19K/qXwfUsv/f2yF7Yga8vjEoj+8oZ17+rTLK1hvrq9vqk32xMlFJTPwIDAQAB";

    // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://uvg44y.natappfree.cc/pay/ali/updateStatus";

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String return_url = "http://www.baidu.com";

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String charset = "utf-8";

    // 支付宝网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

    // 支付宝网关
    public static String log_path = "C:\\";



}
